<div class="box box-default">
    <div class="box-header with-border">
        <h3 class="box-title">{{$tableHeader}}</h3>
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <div class="table-responsive">
            @if($list)
            <table class="table table-hover grid-table">
                @if(!empty($titleList))
                    <tr>
                        @foreach($titleList as $key => $value)
                            <th @if($key)class="column-{{$key}} @if($rowWidth) col-md-{{$rowWidth[$key]}}@endif"@endif>
                                {{$value}}
                            </th>
                        @endforeach
                    </tr>
                @endif
                    @foreach($list as $row)
                        <tr>
                            @foreach($row as $key => $value)
                                <td @if($key)class="column-{{$key}}"@endif>
                                    {{$value}}
                                </td>
                            @endforeach
                        </tr>
                    @endforeach
            </table>
            @else
                <div style="text-align: center">暂无数据</div>
            @endif
        </div>
        <!-- /.table-responsive -->
    </div>
    <!-- /.box-body -->
</div>